<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03JS数据类型</title>
</head>
<body>
<script>
  // JS的数据类型分为原始类型和引用类型
  //     number 数值，string 字符串，boolean 布尔，undefined 未定义，null 空值
let obj = {
    name: "玥玥",
    age: 18,
    sex: "女",
    job: "虚拟主播",
    salary: 10000
};
obj.like = "直播";
console.log(obj);
console.log(obj.like);
let arr = ["玥玥",22758221,"咩栗",8792912,true];
console.log(arr);
console.log(arr[0]);
console.log(arr[4]);
console.log(arr.length);
console.log(arr[500]);
</script>
</body>
</html>